Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 8 Forum

Notes/Domino 8 Forum

Previous Next

OK but...

But why have this example in the help file.
Code below is directly from the help file for AddNewLine. This is what I adapated.
Be much better if they added a full instead of partial code.
I note that they are running a backend save, and it doesn't mention the need to refresh the ui either.

Dim doc As NotesDocument
Dim rtitem As Variant
'...set value of doc...
Set rtitem = doc.GetFirstItem( "ProjectDescription" )
If rtitem.Type = RICHTEXT Then
Call rtitem.AddNewLine( 1 )
Call rtitem.AppendText( "Book is 64 pages, full color." )
End If
Call doc.Save( False, True )


Feedback response number WEBB86NDX6 created by ~Evelyn Cisnither on 06/22/2010

Notes 8 cannot access existing note... (~Evelyn Cisnith... 18.Jun.10)
. . Don't use a back-end save on a fron... (~Bill Frokimari... 21.Jun.10)
. . . . OK but... (~Evelyn Cisnith... 22.Jun.10)
. . . . . . on help documentation and front-end... (~Bill Frokimari... 23.Jun.10)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS